onSelect="functionName()" Event handler for: Text, Textarea Occurs when a user makes a selection of text inside a text field.